package com.wind.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 试卷表
 * </p>
 *
 * @author xiao
 * @since 2021-05-19
 */
@Data
@Accessors(chain = true)
@TableName("test_paper")
public class TestPaper implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 试卷套题
     */
    @TableField("topic_id")
    private String topicId;
    /**
     * 名称
     */
    @TableField("text_name")
    private String textName;
    /**
     * 封面海报
     */
    private String poster;
    /**
     * 价格
     */
    private BigDecimal price;
    /**
     * 特价
     */
    @TableField("special_price")
    private BigDecimal specialPrice;
    /**
     * 版本等级
     */
    @TableField("version_level")
    private String versionLevel;
    /**
     * 测试介绍
     */
    @TableField("test_introduction")
    private String testIntroduction;
    /**
     * 等级
     */
    private Integer level;
    /**
     * 参与人数
     */
    private Integer participants;
    /**
     * 分类
     */
    @TableField("dimensionality_id")
    private String dimensionalityId;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;
    /**
     * 状态
     */
    @TableField("is_active")
    private Integer isActive;


}
